Make the allocation parameter const
authorCody Russell <bratsche@gnome.org>
Thu, 13 Aug 2009 16:21:15 +0000 (11:21 -0500)
committerCody Russell <bratsche@gnome.org>
Thu, 13 Aug 2009 16:21:15 +0000 (11:21 -0500)
gtk/gtkwidget.c

index 02810f09383029edb8e2d46d49dcc7158a5dad4d..23dc17dac422771403773aa3ee51ddf889b44f1e 100644 (file)
@@ -10779,8 +10779,8 @@ gtk_widget_get_allocation (GtkWidget     *widget,
  * Since: 2.18
  */
 void
-gtk_widget_set_allocation (GtkWidget     *widget,
-                           GtkAllocation *allocation)
+gtk_widget_set_allocation (GtkWidget           *widget,
+                           const GtkAllocation *allocation)
 {
   g_return_if_fail (GTK_IS_WIDGET (widget));
   g_return_if_fail (allocation != NULL);